<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="joda" uri="http://www.joda.org/joda/time/tags"%>

<script type="text/javascript"
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>

<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/validationFormulaire.js"></script>


<div class="bandeau_titre">
	<div class="texte"><h1>VIREMENT Externe :</h1></div>
</div>
<br />
<br />

<form  method="POST" action="${pageContext.request.contextPath}/client/virement/validation.html" id="formVirementExt">
<table>
	<tr>
		<td>Compte Source :</td>
		<td>
			<select name="compteSource">
				<c:forEach items="${comptes}" var="compte">
					<option value="${compte.id}">
						<c:out value="${compte.nomCompte}       ${compte.soldeCourant}€"/>
					</option>
				</c:forEach>
			</select>
		</td>
	</tr>
	<tr>
		<td>Compte Cible :</td>
		<td>
			<table>
				<tr>
					<td>Banque :</td>
					<td><input type="text" id="banque"><span class="msg_error"></span></td>
				</tr>
				<tr>
					<td>Agence :</td>
					<td><input type="text"><span class="msg_error"></span></td>
				</tr>
				<tr>
					<td>Compte :</td>
					<td><input type="text" name="compteCible" id="compte"  maxlength="11"><span class="msg_error"></span></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td>Montant :</td>
		<td><input type="text" name="montant" id="montant" value="0.00"> €  <span class="msg_error"></span></td>
	</tr>
	<tr>
		<td>
			<input type="hidden" name="operationType" value="5"/>
			<input type="submit" value="valider" id="envoyer"  disabled="disabled">
		</td>
	</tr>
</table>
</form>